package com.leuym.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.leuym.entity.User;
import com.leuym.service.TestService;


/**
 * @author LiuYiMing
 * @date 2018/8/3 10:12
 * @describe：
 */
@Service
public class TestServoceimpl implements TestService {
    @Override
    public String sayHello(String name) {
        return "服务端:"+name+"你好----------------------我是服务端";
    }

    @Override
    public User findUser() {
        User user = new User();
        user.setName("lym");
        user.setAge(20);
        user.setSex("男");
        return user;
    }
}
